/**
 *访问服务器获取数据
 * @param {Object} str
 */
function getServerData(url, param) {

  param.format = "json";
  param.LOGIN = getLOGIN();
  param.SECURELOGIN = getSECURELOGIN();
  logNative(url)
  logNative(param)

  $.ajax({
    type: "POST",
    url: url,
    data: param,
    dataType: "json",
    timeout: 15000,
    success: function (data) {
      dsBridge.call("base.cancelDialogJs", "");
      logNative(data);
      if (data.header.retCode == "000000")
        getServerDataSuccess(url, data.body);
      else {
        showToast(data.header.retMsg);
        getServerDataFailed(url, "");
      }

    },
    error: function (msg) {
      dsBridge.call("base.cancelDialogJs", "");
      showToast("访问超时")
      getServerDataFailed(url, "");
    }
  });

}



function getServerDataFailed(url, data) {
}